﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using VanTaiProperty;
namespace VanTaiData
{
    public class TMCommandTransferOrderLine_Controller : clsConnect
    {
        private clsConnect cls = new clsConnect();
        #region[Get-Data]
        
        #endregion

        #region[Insert-Update-Delete]
        public bool InsertTMCommandTransferOrderLine(TMCommandTransferOrderLine_Property data)
        {
            cls.CreateNewSqlCommand();
            cls.AddParameter("@TMCommandTransferOrder_Id", data.TMCommandTransferOrder_Id);
            cls.AddParameter("@Quality_out", data.Quality_out);
            cls.AddParameter("@RowID", data.RowID);
            cls.ExecuteNonQuery("sp_TMCommandTransferOrderLine_Insert");
            return true;
        }
        #endregion
    }
}
